package top.ahzy.seobench.model.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
@Data
@ApiModel(value = "用户登录对象", description = "")
public class UserLoginReq {

    @ApiModelProperty(value = "用户名",required = true)
    @NotBlank(message = "用户名不能为空字符串")
    private String username;

    @ApiModelProperty(value = "密码",required = true)
    @NotBlank(message = "密码不能为空字符串")
    private String password;
}
